package text;

public class Duck implements Flyable {
    public void fly()
    {
        System.out.println("Duck is flying");
    }
    public void land()
    {
        System.out.println("Duck is landing");
    }
    public void swim()
    {
        System.out.println("Duck is swimming");
    }
}
